insertHtml

public static EditorCommand insertHtml(String html)

Returns a command that allows inserting the given html content in a WYSIWYG editor.

Parameters

html

an html content to insert.

Throws

when html is empty or blank